<?php /* Smarty version Smarty-3.0.7, created on 2012-10-09 21:16:00
         compiled from "_temp/mctourist/modules/_tours_calendar.mct" */ ?>
<?php /*%%SmartyHeaderCode:300245074239021ade2-86975789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '53580d4faf7b034ec0cb719f1c5df5dfbf40cec7' => 
    array (
      0 => '_temp/mctourist/modules/_tours_calendar.mct',
      1 => 1344343622,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '300245074239021ade2-86975789',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="module width_full clearfix" style="margin-bottom: 6px; clear: both">
    <div id="sp_bar"><div id="header"><span id="h3">Danh sách Tour</span></div></div> 
    <span id="tour_navi"><a><?php echo $_smarty_tpl->getVariable('RootCate')->value;?>
</a></span>   
    <div class="clear"></div>
    <div class="module_content" style="margin: 0pt; display: block; padding: 5px">
         <div class="bao_contener" style="margin: 0; padding: 0;">
                 <?php if ($_smarty_tpl->getVariable('rows')->value){?>
                 <table class="tabel_lhk" border="0" cellspacing="0" cellpadding="8px"  align="center">
                        <tr class="top_tr" align="center">
                            <td width="43%" >Tên Tour</td>
                            <td width="17%">Lịch khởi hành</td>
                            <td width="15%">Thời gian</td>
                            <td width="15%">Phương tiện</td>
                            <td width="10%" align="center">Thao tác</td>
                        </tr>                        
                            <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
                        <tr class="">
                            <td>
                                <b><a href="tour/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_root_cat_id'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['TourRootName'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_category'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_cat_url'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_id'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_title_url'];?>
.html" title="<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_title'];?>
"><?php echo $_smarty_tpl->tpl_vars['row']->value['tou_title'];?>
</a></b>
                              <br />Mã Tour: <?php echo $_smarty_tpl->tpl_vars['row']->value['tou_code'];?>

                              <br />Đơn giá : <b style="color: red;"><?php echo $_smarty_tpl->tpl_vars['row']->value['tou_price'];?>
 </b>
                            </td>
                            <td><b style="color: green;"><?php echo $_smarty_tpl->tpl_vars['row']->value['tou_calendar'];?>
</b></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['row']->value['tou_begin_time'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['row']->value['tou_phuongtien'];?>
</td>
                            <td align="center"> 
                                    <a class="dat_tuor"  onclick="getTourName(<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_id'];?>
);" href="javascript:;"><span class=""> <input type="submit" name="butSub" class="datour validate" value="Đặt tour"/> </span></a> 
                                    <p><a href="tour/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_root_cat_id'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['TourRootName'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_category'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_cat_url'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_id'];?>
/<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_title_url'];?>
.html" title="<?php echo $_smarty_tpl->tpl_vars['row']->value['tou_title'];?>
"><span> <input type="submit" name="butSub" class="datour validate" value="Chi tiết"/></span></a></p>
                             </td>
                        </tr>
                            <?php }} ?>
                    </table>        
                            <?php if ($_smarty_tpl->getVariable('pages')->value){?> <div class="pagination" style="clear: both; width: 98%; padding-top: 10px;"><?php echo $_smarty_tpl->getVariable('pages')->value;?>
</div><?php }?>
                        <?php }else{ ?>
                             <div style="padding-top: 20px; text-align: center;">Danh sách Tour đang được cập nhật!</div>
                         <?php }?>
            </div>     
    </div>
</div>
<?php if ($_smarty_tpl->getVariable('rows')->value){?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('base_tpl')->value)."/modules/_booking.mct", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
 <?php }?>